package com.pactera.madp.cp.api.entity.employeeWechat;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.pactera.madp.cp.api.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * (CpEmployeeFollow)实体类
 *
 * @author yushen.qi
 * @since 2021-06-29 15:04:33
 */
@Data
@TableName("cp_employee_follow")
@EqualsAndHashCode(callSuper=false)
@ApiModel(value = "跟进")
public class EmployeeFollowEntity extends BaseEntity<EmployeeFollowEntity> implements Serializable {
    private static final long serialVersionUID = -26612864505638920L;
    /**
     * 主键id
     */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Integer id;
    /**
     * 客户id
     */
    @ApiModelProperty(value = "客户id")
    private String wxExternalUserid;

    @ApiModelProperty(value = "员工id")
    private String wxUserId;

    @ApiModelProperty(value = "员工id")
    private String name;
    /**
     *
     */
    @ApiModelProperty(value = "跟进事项")
    private String followBody;
    /**
     * 是否跟进
     */
    @ApiModelProperty(value = "是否跟进,1-未跟进,2-跟进")
    private Integer followState;

    @ApiModelProperty(value = "企业表id（cp_corp.id）")
    private Integer  corpId;
}
